import { GetCreatedMcpListItem } from '@/common';

import { FlowNodeTemplateTypeEnum } from './constant';

export type MCPListType = {
  type: FlowNodeTemplateTypeEnum;
  label: string;
  list: GetCreatedMcpListItem[];
}[];

export type McpToolConfigType = {
  name: string;
  description: string;
  inputSchema: {
    type: string;
    properties?: Record<string, { type: string; description?: string }>;
    required?: string[];
  };
};
